package com.xinbochuang.machine.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinbochuang.machine.admin.domain.AlarmCount;
import com.xinbochuang.machine.admin.domain.CameraAlarmRecord;

import java.util.List;

/**
 * @author 杜文博
 * @date 2020-10-29
 */
public interface ICameraAlarmRecordService extends IService<CameraAlarmRecord> {

    IPage<CameraAlarmRecord> selectList(CameraAlarmRecord cameraAlarmRecord);

    boolean updateCamera(CameraAlarmRecord cameraAlarmRecord);

    /**
     * 告警统计
     *
     * @return 结果
     */
    List<AlarmCount> alarmCount();
}
